package cn.wolfcode.shop.mapper;

import java.util.List;

import cn.wolfcode.shop.domain.Product;
import cn.wolfcode.shop.qo.QueryObject;

public interface ProductMapper {
	int deleteByPrimaryKey(Long id);

	int insert(Product record);

	Product selectByPrimaryKey(Long id);

	List<Product> selectAll();

	int updateByPrimaryKey(Product record);

	int queryCount(QueryObject qo);

	List<?> queryList(QueryObject qo);

}